{load_language_text section="reviews"} {load_language_text section="buttons" name="button"} {block name="products_reviews"}
{if $module_content|@count > 0 && $smarty.session.customers_status.customers_status_read_reviews === '1'} {block name="products_reviews_title_if"} {if $showAsTab !== 'true'} {block name="products_reviews_title"}

## {$txt.heading_reviews}

{/block} {/if} {/block} {block name="products_reviews_list"}

{foreach name=aussen key=key item=module_data from=$module_content} {block name="products_reviews_item"}
- {block name="products_reviews_item_rating"}
  {/block} {block name="products_reviews_item_author_date"}
  {block name="products_reviews_item_author"} {$module_data.AUTHOR}, {/block} {block name="products_reviews_item_date"} {$module_data.DATE} {/block}
  {/block} {block name="products_reviews_item_comment"}
  {block name="products_reviews_item_comment_review"} {product_review long=$module_data.TEXT short=$module_data.TEXT|truncate:150:"" link="{$txt.text_reviews_link}" out-remainder='review_remainder' out-link='review_link'} {/block} {block name="products_reviews_item_comment_text"} {$module_data.TEXT} {$review_remainder} {/block} {block name="products_reviews_item_comment_link"}
  {$review_link} {/block}
  {/block}
{/block} {/foreach}

{/block} {elseif $module_content|@count <= 0 && $smarty.session.customers_status.customers_status_read_reviews === '1'} {block name="products_reviews_no_reviews_title"} {if $showAsTab !== 'true'}

## {$txt.heading_reviews}

{/if} {/block} {block name="products_reviews_no_reviews_text"}

{$txt.no_reviews}

{/block} {else} {block name="products_reviews_not_allowed_title"} {if $showAsTab !== 'true'}

## {$txt.heading_reviews}

{/if} {/block} {block name="products_reviews_not_allowed_text"}

{$txt.reading_not_allowed}

{/block} {/if} {if $smarty.session.customers_status.customers_status_write_reviews === '1'} {block name="products_reviews_buttons"}
{block name="products_reviews_buttons_submit"} {$button.your_opinion} {/block}
{/block} {elseif $smarty.session.customers_status.customers_status_id === '1'} {block name="products_reviews_login_hint"}

{$txt.no_login_hint} {$txt.login}

{/block} {/if}
{/block}